package com.eipv.multidatasource.entity;

import com.eipv.component.mybatis.base.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class SingleMonitor extends BaseEntity {

    public static final Byte FINISHED = 1;

    public static final Byte PROCESSING = 0;

    public static final Byte FAILED = -1;


    /**
     * 0:单个监控
     */
    private Integer type = 0;

    private String tableName;

    private String fileName;

    private Long rowsOfRead;

    private Long rowsOfWrite;

    private Long transferred;

    private Long transferTime;

    private String exception;
}
